﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Example06.aspx.cs" Inherits="Chapter17.Example06" %>

<!DOCTYPE html>

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>代码清单 17-6 使用元素属性选择器</title>
    <style type="text/css">
        [href] {
            border: thin black solid;
            padding: 4px;
        }
    </style>
</head>
<body>
    <a id="apressanchor" class="class1 class2" href="http://apress.com">Visit the Apress website</a>
    <p>I like <span class="class2">apples</span> and orangres.</p>
    <a id="w3canchor" href="http://w3c.org">Visit the W3C website</a>
</body>
</html>
